/* 
 * File:   AngleUnitParameterMemento.cpp
 * Author: Gab'z
 * 
 * Created on 29 mai 2012, 10:57
 */

#include "AngleUnitParameterMemento.h"
#include "../command/UndoableRedoableCommand.h"

namespace calculator {

    AngleUnitParameterMemento::AngleUnitParameterMemento(
            UndoableRedoableCommand* undoableRedoableCommand,
            Parameters::AngleUnit angleUnit) :
    Memento(undoableRedoableCommand),
    _angleUnit(angleUnit) {
    }

    AngleUnitParameterMemento::AngleUnitParameterMemento(const AngleUnitParameterMemento& memento) :
    Memento(memento._undoableRedoableCommand),
    _angleUnit(memento._angleUnit) {
    }

    AngleUnitParameterMemento::~AngleUnitParameterMemento() {
    }
}